package io.lckgroup.modules.lck.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.lckgroup.modules.lck.entity.ShopFoodAuditEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.Map;

/**
 * 菜品审核表
 *
 * @author srq
 * @email siruiqi@siruiqi.com
 * @date 2020-01-19 19:14:39
 */
@Mapper
public interface ShopFoodAuditDao extends BaseMapper<ShopFoodAuditEntity> {

    IPage<Map<String, Object>> selectAll(Page<?> page, String merchantName, int auditState);

    void AuditShopFoodAudit(ShopFoodAuditEntity shopFoodAuditEntity);


    void PassAuditBatchShopFoodAudit(Long[] foodId);
}
